import gl
from PyQt5 import QtCore


def show_content(html):
    gl.g_recv_obj.sgn.connect(gl.g_driver_obj.on_show_content)
    loop=QtCore.QEventLoop()
    gl.g_driver_obj.get_input.connect(loop.quit)
    gl.g_recv_obj.sgn.emit(html)
    loop.exec()
    gl.g_recv_obj.sgn.disconnect(gl.g_driver_obj.on_show_content)
    gl.g_driver_obj.get_input.disconnect(loop.quit)